Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plonk: proof-system: prover: Emit LinkingHint with proof #41

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

joeykraut
Copy link
Member

Purpose

This PR adds a prove_with_link_hint method to the r1cs prover that preserves the linking information for a subsequent proof linking argument. This linking information is concretely:

  • The $a(x)$ polynomial and its mask
  • The commitment to the masked $a$, used to generate the transcript

Testing

  • All unit tests pass

@joeykraut joeykraut marked this pull request as ready for review January 5, 2024 19:08
@joeykraut joeykraut requested a review from akirillo January 5, 2024 19:08
Copy link

@akirillo akirillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a couple nits for readability, can't wait to use this for contract tests

The linking hint is used by the proof linking protocol to generate
the proof-link via the a(x) polynomials from the original r1cs
protocol
@joeykraut joeykraut merged commit 8dcdc69 into main Jan 5, 2024
1 check failed
@joeykraut joeykraut deleted the joey/linking-hints branch January 5, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants